package com.iraeta.entity.type;

public class GiftOrderStatus {
    public static final int add = 1;
    public static final int submit = 2;
    public static final int shenHeFail = 3;
    public static final int shenHePass = 4;
    public static final int deleted = 0;

    public static String getStatusName(int statusId){
        String res = "未知";
        switch (statusId){
            case add:
                res="新增";
                break;
            case submit:
                res="提交";
                break;
            case shenHeFail:
                res="审核不通过";
                break;
            case shenHePass:
                res="审核通过";
                break;
            case deleted:
                res="已删除";
                break;
        }
        return res;
    }
}
